import http from 'utilMethods/http'

const request = 'http://report.wsn2019.club/comment'

const comment = {
  postAddComment (comment) {
    return http.post(`${request}/add`, comment)
  },
  getDeleteComment (commentId) {
    return http.get(`${request}/delete/` + commentId)
  }
}

export default comment